home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 1999 May
/
SGI IRIX 6.5 Applications 1999 May.iso
/
dist
/
impr_print.idb
/
usr
/
share
/
catman
/
a_man
/
cat1
/
mkjtpr.z
/
mkjtpr
Wrap
Text File
|
1998-05-04
|
5KB
|
133 lines
MMMMKKKKJJJJTTTTPPPPRRRR((((1111MMMM)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo MMMMKKKKJJJJTTTTPPPPRRRR((((1111MMMM))))
NNNNAAAAMMMMEEEE
mkjtpr - install a network printer interface System V printer
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mmmmkkkkjjjjttttpppprrrr [<local printer name>] [<network printer name>]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_m_k_j_t_p_r provides access to a printer that is directly connected to a
network (using a network card in the printer or similar network adaptor).
Examples are printers connected with an HP JetDirect network adaptor.
_m_k_j_t_p_r will interactively prompt for missing arguments.
_l_o_c_a_l _p_r_i_n_t_e_r _n_a_m_e is the name you wish to give the printer on your
machine (see _l_p_a_d_m_i_n (_1_M)).
_n_e_t_w_o_r_k _p_r_i_n_t_e_r _n_a_m_e is the network name or IP address of the network
printer. You should be able to _p_i_n_g (_1_M) this name with the following
command before running _m_k_j_t_p_r:
/usr/etc/ping -q -c3 _n_e_t_w_o_r_k__p_r_i_n_t_e_r__n_a_m_e
When _m_k_j_t_p_r runs it parses the model files in the /var/spool/lp/model
directory looking for model files with the string "DEVICE=NETPRINTER".
It then lists all model files that support driving a network printer.
One of these model files must be selected.
_m_k_j_t_p_r also uses the *NETPRINTER*netDevices resource found in the
/usr/lib/X11/app-defaults/Printers file to generate a list of network
adaptors. One of these must be selected.
TTTTRRRROOOOUUUUBBBBLLLLEEEE SSSSHHHHOOOOOOOOTTTTIIIINNNNGGGG TTTTIIIIPPPPSSSS::::
If you have problems printing to the network printer first verify that
you can _p_i_n_g the printer (see above).
If the ping fails verify that the printer is connected and configured
correctly (this includes setting the IP address, netmask, etc. on the
printer). Some printers must be power-cycled after setting up their
network card.
If you can ping the network printer but can not print then you may also
need to verify that the TCP port number used to connect to the network
printer (or network adaptor) is correct. The port number that the print
spooler will use to communicate with the network printer is specified in
the printer model file. Edit the file /var/spool/lp/interface/<local
printer name> and search for "OUTSOCK=9100" (may be something other then
9100). You might verify with your printer vendor that the TCP port
number specified with the OUTSOCK variable is correct for your printer.
(The value for OUTSOCK is set by _m_k_j_t_p_r based on the information in the
*NETPRINTER*netDevices resource found in /usr/lib/X11/app-
defaults/Printers -- see above).
PPPPaaaaggggeeee 1111
MMMMKKKKJJJJTTTTPPPPRRRR((((1111MMMM)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo MMMMKKKKJJJJTTTTPPPPRRRR((((1111MMMM))))
Some network printers might be configured to only accept connections from
specific systems. Verify that your system has access to the printer.
NNNNOOOOTTTTEEEE
In most cases you will only want one or two systems setup to print
directly to a network printer. Other workstations on the network should
print to the network printer via the one or two systems that have been
designated as print servers. (Use _m_k_n_e_t_p_r (_1_m) to setup other
workstations to spool via the designated print servers.) The reason for
this is that a network printer can serve a limited number of connections.
If multiple connections are attempted from several systems some will be
refused. The systems that were refused back off and try again every few
seconds. Some may never get a connection depending on the number of
systems trying to connect. Designating one or two systems as print
servers allows the servers to control the flow of jobs to the printer in
a more orderly manner (typically a first in first out manner).
FFFFIIIILLLLEEEESSSS
/usr/spool/lp/log
/usr/spool/lp/interface/<local printer name>
SSSSEEEEEEEE AAAALLLLSSSSOOOO
accept(1M), addclient(1M), enable(1), lp(1), lpadmin(1M), lpsched(1M),
lpshut(1M), lpstat(1), mknetpr(1M) rmprinter(1M).
PPPPaaaaggggeeee 2222